package com.lujieni.springbootlearn.service.impl;

import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;
import java.util.HashMap;
import java.util.Map;

public class SystemService {

    private static Map<String, String> map = new HashMap<String, String>();

    @PostConstruct
    public void init(){
        map.put("name", "结束");
    }

    public static String get(String key){
        return map.get(key);
    }

}
